package com.topnet.leaderhelp.utils.xfyun.msc;

import android.content.Context;

import com.iflytek.cloud.InitListener;
import com.iflytek.cloud.resource.Resource;
import com.iflytek.cloud.ui.RecognizerDialogListener;
import com.topnet.leaderhelp.utils.xfyun.msc.ui.CDialog;

import java.util.Locale;

/**
 * @Description: java类作用描述
 * @Author: 下雨了
 * @CreateDate: 2022-03-02 10:00
 * @UpdateUser: 更新者
 * @UpdateDate: 2022-03-02 10:00
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */

public class RecognizerDialog extends CDialog {

    ADialog mscDialog;

    public RecognizerDialog(Context paramContext, InitListener paramInitListener) {
        super(paramContext);
        this.mscDialog = new ADialog(paramContext, paramInitListener);
    }

    public void setListener(RecognizerDialogListener paramRecognizerDialogListener) {
        mscDialog.setResultListener(paramRecognizerDialogListener);
    }

    public void setParameter(String paramString1, String paramString2) {
        mscDialog.setParameter(paramString1, paramString2);
    }

    public void setUILanguage(Locale paramLocale) {
        Resource.setUILanguage(paramLocale);
    }

    public void show() {
        super.show();
    }

    public void dismiss() {
        super.dismiss();
    }
}
